package com.hckj.jianzhijia.model;

import com.avos.avoscloud.AVObject;

/**
 * Created by 赵奇隆 on 2015-12-06.
 */
public class Schools {

    public static final String TABLE_NAME = "schools";

    private String school;//学校名字
    private int schoolId;//学校Id

    public Schools(AVObject avObject) {
        this.school = avObject.getString("school");
        this.schoolId = avObject.getInt("schoolId");
    }

    public int getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(int schoolId) {
        this.schoolId = schoolId;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }
}
